/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2021-12-27 09:15:49
 * @LastEditors: GGB
 * @LastEditTime: 2021-12-27 09:31:20
 */
import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const staff: AppRouteModule = {
  path: '/staff',
  name: 'Staff',
  component: LAYOUT,
  redirect: '/staff/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'ant-design:user-outlined',
    title: t('routes.staff.staff'),
    orderNo: 9,
  },
  children: [
    {
      path: 'index',
      name: 'StaffPage',
      component: () => import('/@/views/staff/index.vue'),
      meta: {
        title: t('routes.staff.staff'),
        icon: 'ant-design:user-outlined',
        hideMenu: true,
      },
    },
  ],
};

export default staff;
